import { Injectable } from '@angular/core';
import { RequestClass } from './request.service';
@Injectable()
export class DeviceService {
    constructor(private requestclass: RequestClass) {}
    fetchDevicesById = async ({ well_id }) => {
        return await this.requestclass.request.get('/wellinfo/findmeterbywellid', {
          params: {
            wellId: well_id,
          },
        })
      }
}